package com.jdsm.services;

import com.jdsm.model.Browser;
import com.jdsm.repositories.BrowserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrowserServiceImpl implements BrowserService {

    @Autowired
    private BrowserRepository browserRepository;

    @Override
    public List<Browser> findAll() {
        return browserRepository.findAll();
    }
}
